package org.demo.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * @author yexi
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee implements Serializable {
    @Id(keyType = KeyType.Auto)
    private Integer empNo;
    private String empName;
    private String job;
    private Integer mgr;
    private Date hiredate;
    private Double salary;
    private Double bonus;
    private Integer deptNo;

}
